
package com.cmc.service;

import java.util.List;

import com.cmc.service.Manager;
import com.cmc.model.Department;
import com.cmc.dao.DepartmentDao;

public interface DepartmentManager extends Manager {
    /**
     * Retrieves all of the departments
     */
    public List getDepartments(Department department);

    /**
     * Gets department's information based on id.
     * @param id the department's id
     * @return department populated department object
     */
    public Department getDepartment(final String id);

    /**
     * Saves a department's information
     * @param department the object to be saved
     */
    public void saveDepartment(Department department);

    /**
     * Removes a department from the database by id
     * @param id the department's id
     */
    public void removeDepartment(final String id);
}

